#ifndef CONFIG_INFO_H
#define CONFIG_INFO_H

/**********************************以下两项为业务相关******************************/
//网络配置信息
struct network_info {
    struct section_info section;   //继承 struct section_info
    struct member_info ip;
    struct member_info port;
    struct member_info netmask;
    struct member_info gateway;
};

//日志系统配置信息
struct log_info {
    struct section_info section;   //继承 struct section_info
    struct member_info log_filename;
    struct member_info level;
    struct member_info saveflg;
    struct member_info filesize;
};


struct sys_config {
    struct ini_config base;  //继承 struct ini_config
    struct network_info net;
    struct log_info log;
};

#endif

